package com.vcredit.creditcat.api;


import java.text.ParseException;
import java.util.List;

import com.vcredit.creditcat.dto.creditrepository.AuthItemFilterDto;
import com.vcredit.creditcat.dto.creditrepository.AuthItemFilterParamDto;
import com.vcredit.creditcat.dto.creditrepository.CustCreditRepositoryDto;
import com.vcredit.creditcat.dto.creditrepository.ItemStatusDto;
import com.vcredit.creditcat.dto.product.MerchantProductDto;
import com.vcredit.creditcat.model.Cust;




public interface ICustCreditRepositoryManager {
	/**
	 * 我的信用库
	 * @param processId
	 * @return
	 */
	public CustCreditRepositoryDto getCustCreditRepository(Long processId);
	/**
	 * 筛选项（特权，产品所需的认证项筛选）
	 * @param param
	 * @param processId
	 * @return
	 */
	public AuthItemFilterDto getAuthItems(AuthItemFilterParamDto param,Long processId);
	
	/**
	 * 获取认证项状态
	 * @param authItemCode
	 * @param processId
	 * @return
	 * @throws Exception 
	 */
	public ItemStatusDto getStatus(String authItemCode,Integer flag,Cust cust) throws Exception;
	
	public List<MerchantProductDto> queryCanApplyProducts(Long custId) throws ParseException;
}
